package com.gitee.free.coding.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 全局 True 或 False
 */
@Getter
@AllArgsConstructor
public enum TrueOrFalseEnum {

    TRUE(1, "1", true, "yes", "是", "success", "成功"),
    FALSE(0, "0", false, "no", "否", "fail", "失败");

    /**
     * 数字
     */
    private final Integer number;

    /**
     * 字符串
     */
    private final String string;

    /**
     * 布尔
     */
    private final Boolean bool;

    /**
     * 英文名1
     */
    private final String enName1;

    /**
     * 中文名1
     */
    private final String zhName1;

    /**
     * 英文名2
     */
    private final String enName2;

    /**
     * 中文名2
     */
    private final String zhName2;

}
